import 'package:flutter/material.dart';

class containerView extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    // TODO: implement build

    return Scaffold(
      appBar: AppBar(
        title: (Text("eqeqeqeq")),
        elevation: 0,
      ),
      body: Container(
        width: 200,
        height: 200, //单节点组件也就是只可以又一个子节点
        color: Colors.red,
        padding: EdgeInsets.all(5),
        alignment: Alignment.topCenter,
        decoration: new BoxDecoration(
            color: Colors.blue,
            border: new Border.all(
              width: 10,
              color: Colors.green,
            ),
            borderRadius: new BorderRadius.all(Radius.circular(20.0)),
            boxShadow: <BoxShadow>[
              new BoxShadow(
                color: Colors.red,
                blurRadius: 20.0,
              )
            ]),

        child: (Text(
          "test",
          style: TextStyle(
              fontSize: 13, fontWeight: FontWeight.bold, color: Colors.red),
        )),
      ),
    );
  }
}
